//
//  ShopcartOrderViewController.h
//  B2C
//
//  Created by 李小龙 on 2017/8/10.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import "BaseViewController.h"
#import "ShopcartModel.h"

typedef NS_ENUM(NSUInteger, ShopcartOrderType) {
    ShopcartOrderTypeGoods,     // 普通
    ShopcartOrderTypeCart,      // 购物车
    ShopcartOrderTypeNearby,    // 附近门店
    ShopcartOrderTypeIntegral,  // 积分
    ShopcartOrderTypeSeckill,   // 秒杀
    ShopcartOrderTypePurchase,  // 代购
    ShopcartOrderTypeGroup,     // 团购
};

@interface ShopcartOrderViewController : BaseViewController

@property (nonatomic, assign) BOOL isHaveWorldwide; // 是否包含全球购商品
@property (nonatomic, assign) ShopcartOrderType type;
@property (nonatomic,strong) id fields;     //hdy:2期字段，用于立即购买

@property (nonatomic, copy) NSString *gaids;    // 附近门店传
@property (nonatomic, copy) NSString *numbers;  // 附近门店传
@property (nonatomic, strong) NSMutableArray<ShopcartClassifyModel *> *tableArray;

@property (nonatomic, copy) void (^block)(BOOL isReload);

@property (nonatomic, copy) NSString *osid;

@property (nonatomic, strong) AddressModel *selectModel;

@end
